package com.yingxin.yxerp.module.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yingxin.yxerp.module.sys.entity.ActivitiCoreInformation;
import com.yingxin.yxerp.module.sys.vo.req.ActivitiCoreInformationQueryVo;
import com.yingxin.yxerp.module.sys.vo.resp.ActivitiCoreInformationRespVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 任务核心内容列表 Mapper 接口
 * @author yuebao
 * @since 2024-02-24
 */

public interface ActivitiCoreInformationMapper extends BaseMapper<ActivitiCoreInformation> {

    /**
     * 查询全部
     */
    List<ActivitiCoreInformationRespVo> listVo(@Param("queryObj") ActivitiCoreInformationQueryVo queryObj);

    /**
     * 根据 bill id 获取
     */
    List<ActivitiCoreInformationRespVo> listByBillId(@Param("businessId") String businessId);

    /**
     * 根据id查询
     */
    ActivitiCoreInformationRespVo getVo(@Param("id") String id);

}
